package com.kawa.kemanage.service;

import com.kawa.kemanage.entity.Advertiser;
import com.kawa.kemanage.util.PageResult;

import java.util.List;

public interface AdvertiserService {
    List<Advertiser> findAll();
    
    PageResult<Advertiser> findByPage(Integer page, Integer size);
    
    Advertiser findById(Integer id);
    
    Advertiser create(Advertiser advertiser);
    
    Advertiser update(Integer id, Advertiser advertiser);
    
    void delete(Integer id);
}
